package com.ego.item.service;

import com.ego.item.pojo.Category;

import java.util.List;

public interface CategoryService {

    List<Category> queryCategoryListByParentId(Long pid);

    void deleteById(Long id);

    void addCategory(Category category);

    void update(Category category);

    List<Category> getByBrandId(Long bid);

    List<String> queryNameByIds(List<Long> asList);

    List<Category> queryCategoryListByIds(List<Long> categoryIds);

    List<Category> queryAllCategoryLevelByCid3(Long id);
}
